package cn.huijielong.common.props;

import java.io.InputStream;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import cn.huijielong.common.wxpay.WXPayDomain;
import cn.huijielong.common.wxpay.sdk.IWXPayDomain;
import cn.huijielong.common.wxpay.sdk.WXPayConfig;




@ConfigurationProperties(prefix = "props.qrtzf")
@Component
public class PropWXPayConfig extends WXPayConfig {
	private String appId;
	private String mchId;
	private String key;
	private String notifyUrl;
	
	@Override
	public String getAppId() {
		return appId;
	}

	@Override
	public String getMchId() {
		return mchId;
	}

	@Override
	public String getKey() {
		return key;
	}

	public void setAppId(String appId) {
		this.appId = appId;
	}

	public void setMchId(String mchId) {
		this.mchId = mchId;
	}

	public void setKey(String key) {
		this.key = key;
	}

	public String getNotifyUrl() {
		return notifyUrl;
	}

	public void setNotifyUrl(String notifyUrl) {
		this.notifyUrl = notifyUrl;
	}
	@Override
	public InputStream getCertStream() {
		return null;
	}
	@Override
	public IWXPayDomain getWXPayDomain() {
		return new WXPayDomain();
	}
	
}
